home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cocktail
/
hexa.lha
/
hexa
/
install
< prev
next >
Wrap
Text File
|
1992-08-18
|
267b
|
25 lines
: simple remake of the UNIX command install
s=0
while test $# -gt 2
do
case $1
in
-c) ;;
-s) s=1;;
-m) m=$2; shift;;
esac
shift
done
set -x
cp $1 $2
if test -d $2
then f=$2/$1
else f=$2
fi
chmod $m $f
if test $s -eq 1
then strip $f
fi